Fix a compilation warning
authorJavier Jardón <jjardon@gnome.org>
Tue, 20 Oct 2009 02:06:05 +0000 (04:06 +0200)
committerJavier Jardón <jjardon@gnome.org>
Tue, 20 Oct 2009 18:44:48 +0000 (20:44 +0200)
Use parenthesis in a expression with "&" operator

gdk-pixbuf/io-ani.c

index 389b2c599439e63fb1ac028f352d934739e65b0d..0f4286852386623076d5e3cb69efc8866a4ae97b 100644 (file)
@@ -329,7 +329,7 @@ ani_load_chunk (AniLoaderContext *context, GError **error)
                         (context->Flags & 0x2) != 0, 
                         (context->Flags & 0x1) != 0);
 #endif
-               if (!context->Flags & 0x2) 
+               if (!(context->Flags & 0x2))
                {
                        g_set_error_literal (error,
                                              GDK_PIXBUF_ERROR,